import api from './index'
import { axios } from '@/utils/request'
import Qs from 'qs'

export function saveTip (parameter) {
  return axios({
    url: api.SaveTip,
    method: 'post',
    data: Qs.stringify(parameter)
  })
}

export function getTipDetail (parameter) {
  return axios({
    url: api.GetTipDetail,
    method: 'get',
    params: parameter
  })
}